home *** CD-ROM | disk | FTP | other *** search
/ Ham Radio 2000 / Ham Radio 2000.iso / ham2000 / fax_sstv / ezsstv / ioaddr.txt < prev    next >
Text File  |  1996-06-18  |  3KB  |  78 lines

  1.                 I/O Address
  2.                 -----------
  3.  
  4.  
  5. What is an I/O Address?
  6. -----------------------
  7.  
  8. Your computer is composed of several sub-systems:
  9.  - Central Processing Unit (CPU), such as a '486.
  10.  - Memory.
  11.  - Input/Output (I/O) devices such as a keyboard, printer
  12.    port, and video display.
  13.  
  14. The CPU does not have separate wires going to each of the
  15. I/O devices.  Instead they are all connected to a common set
  16. of connections called a "bus."  Memory and I/O devices respond
  17. only when their particular address is on the bus.
  18.  
  19. The original IBM PC had the ability to use 1024 different
  20. I/O addresses.  Very simple devices might use only a single
  21. address, more complicated devices require several adjacent
  22. addresses.  I/O addresses are usually written as hexadecimal
  23. (base 16) numbers in the range of 000H through 3FFH.  Often
  24. an H is written at the end of a number to indicate hexadecimal.
  25.  
  26. Addresses 000H through 1FFH are normally used for devices
  27. on the mother board such as timers, interrupt controllers,
  28. the real-time clock, math coprocessor, and CMOS memory 
  29. holding configuration information.
  30.  
  31. Addresses in the range of 200H through 3FFH are used for 
  32. peripheral devices.  These have traditionally used plug in
  33. cards but many newer computers have standard devices built
  34. in to the mother board.
  35.  
  36. Most of the standard devices, such as printer ports, serial
  37. (COM) ports, video display, and the floppy disk controller
  38. use addresses in the 300H to 3FFH range.  The 2xx range was
  39. mostly unused in the original PC and that is why most add-on
  40. devices, such as sound cards, CD-ROM drives, and Pasokon TV
  41. use addresses in the 2xx range.
  42.  
  43. Clearly the hardware and software configuration must agree.
  44. If a serial port is listening to address 3F8H, the software
  45. must write to that address, to use the serial port.
  46.  
  47. Two different devices may not share the same address.  It would
  48. cause great confusion if two different devices responded to
  49. the same address and tried to put their data on the bus at
  50. the same time.
  51.  
  52.  
  53. I/O Address Selection
  54. ---------------------
  55.  
  56. Standard I/O addresses for serial ports are shown below:
  57.  
  58.                 Serial Port     I/O Address
  59.                 -----------     -----------
  60.                 COM1            3f8
  61.                 COM2            2f8
  62.                 COM3            3e8
  63.                 COM4            2e8
  64.  
  65. Normally you won't have to worry about this.  All you need to
  66. do is:
  67.         - Go to "Setup" menu.
  68.         - Pick "SSTV Interface".
  69.         - Choose the desired serial port.
  70.  
  71. The program displays the standard I/O addresses and the actual
  72. addresses obtained from the BIOS.  
  73.  
  74. If you have a situation where you have more than 4 serial ports
  75. or the BIOS is confused, it will be necessary to manually edit
  76. the configuration file.  See CONFIG.TXT for an explanation of
  77. the COM_PORT command.
  78.